Robot Arm Simulation Using Multi-Body Dynamics